﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DreamHome.Models
{
    class Branch
    {
       public String branchNo { get; set;}
       public String street   { get; set;}
       public String city     { get; set;}
       public String postcode { get; set;}
       public String IsValid  { get; set;}

       public Branch(String branchNo, String street, String city, String postcode, bool isValid)
        {
        //    this.Id          = Guid.NewGuid();
            this.branchNo = branchNo;
            this.street = street;
            this.city = city;
            this.postcode = postcode;
            if (isValid == true) { this.IsValid = "Yes"; } else { this.IsValid = "No!"; };
        }
       public Branch()
       {
       }  

    }
}
